import request from "@/utils/request";

export const getArticle = (params) => {
  return request({
    url: "/article/query",
    method: "GET",
    data: params,
  }).then((res) => res.data);
};

export const getArticleDetail = (params) => {
  return request({
    url: "/article/queryDetail",
    method: "GET",
    data: params,
  }).then((res) => res.data);
};
